package com.nbstar.film.spider.excel;

import com.nbstar.film.spider.pojo.RawFromExcel;
import org.apache.poi.xssf.usermodel.XSSFRow;

public class YunNanExcelReader extends XSSFExcelReader {
    public static final int COL_INDEX_FILMNAME_ = 0;

    @Override
    public RawFromExcel readRowFromExcel(XSSFRow row) {
        RawFromExcel  rawFromExcel = new RawFromExcel();
        rawFromExcel.setFilmName((String) getCellValue(row, COL_INDEX_FILMNAME_));

        return rawFromExcel;
    }
}
